package demo2;

import java.util.Locale;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 洪汤泽大帅哥
 * Date: 2024-11-06
 * Time: 11:17
 */
public class SystemUtil {
    public static boolean isAdmin(String userId){
        return userId.toLowerCase() == "admin";
    }
    public static void main(String[] args){
        System.out.println(isAdmin("Admin"));
    }
}
